import xadmin
from . import models


class CourseCategoryModelAdmin(object):
    """课程分类模型管理类"""
    pass


xadmin.site.register(models.CourseCategory, CourseCategoryModelAdmin)


class CourseModelAdmin(object):
    """课程模型管理类"""
    pass


xadmin.site.register(models.Course, CourseModelAdmin)


class TeacherModelAdmin(object):
    """老师模型管理类"""
    pass


xadmin.site.register(models.Teacher, TeacherModelAdmin)


class CourseChapterModelAdmin(object):
    """课程章节模型管理类"""
    pass


xadmin.site.register(models.CourseChapter, CourseChapterModelAdmin)


class CourseLessonModelAdmin(object):
    """课程课时模型管理类"""
    pass


xadmin.site.register(models.CourseLesson, CourseLessonModelAdmin)


class CourseDiscountTypeModelAdmin(object):
    """课程优惠类型的名称管理类"""
    pass


xadmin.site.register(models.CourseDiscountType, CourseDiscountTypeModelAdmin)


class CourseDiscountModelAdmin(object):
    """课程优惠策略的管理类"""
    pass


xadmin.site.register(models.CourseDiscount, CourseDiscountModelAdmin)


class ActivityModelAdmin(object):
    """课程参与的优惠活动的管理类"""
    pass


xadmin.site.register(models.Activity, ActivityModelAdmin)


class CoursePriceDiscountModelAdmin(object):
    """课程与优惠活动以及优惠策略之间的关系的管理类"""
    pass


xadmin.site.register(models.CoursePriceDiscount, CoursePriceDiscountModelAdmin)


class CourseExpireModelAdmin(object):
    """商品有效期模型管理类"""
    pass


xadmin.site.register(models.CourseExpire, CourseExpireModelAdmin)
